#pragma once
#include "thread.h"

class DatabaseThread : public Thread
{
public:
  DatabaseThread();
  ~DatabaseThread();
	void open();
  void reopen();
  virtual void run();

private:
  bool cnOpen;
};
